﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DailyApp.WPF.DTOs
{
    /// <summary>
    /// 待办事项DTO
    /// </summary>
    internal class WaitInfoDTO
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Badge { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 状态 0-待办  1-已完成
        /// </summary>
        public int Status { get; set; }

        public string FilePath { get; set; } = "1";
        public string Permissions { get; set; } = "Wait";
        public string CreateBy { get; set; } = "80029388";
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public Guid Rowguid { get; set; } = Guid.NewGuid();
        /// <summary>
        /// 背景颜色
        /// </summary>
        public string BackColor
        {
            get { return Status == 0 ? "#1E90FF" : "#3CB371"; }
        }
    }
}
